package com.i18n.moka;

import java.time.LocalDateTime;

public class DayOfWeekConvert implements FiledConvert {


    @Override
    public String convert(String content, LocalDateTime time, String locale, String dateTimeIdentifier)  {
        return content.replaceAll(dateTimeIdentifier,
                String.format("%d",time.getDayOfWeek().getValue()));
    }
}
